package com.bestescortbedsystem.dao;

import com.bestescortbedsystem.entity.SesBedMessage;
import com.bestescortbedsystem.entity.SesHospitalinfo;
import com.bestescortbedsystem.entity.SesHospitalinfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SesHospitalinfoDao {
    long countByExample(SesHospitalinfoExample example);

    int deleteByExample(SesHospitalinfoExample example);

    int deleteByPrimaryKey(Long hospitalinfoid);

    int insert(SesHospitalinfo record);

    int insertSelective(SesHospitalinfo record);

    List<SesHospitalinfo> selectByExample(SesHospitalinfoExample example);

    SesHospitalinfo selectByPrimaryKey(Long hospitalinfoid);

    int updateByExampleSelective(@Param("record") SesHospitalinfo record, @Param("example") SesHospitalinfoExample example);

    int updateByExample(@Param("record") SesHospitalinfo record, @Param("example") SesHospitalinfoExample example);

    int updateByPrimaryKeySelective(SesHospitalinfo record);

    int updateByPrimaryKey(SesHospitalinfo record);
    List<SesHospitalinfo> selectByuserId(Long userId);
}